import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '笔记id',
    align: "center",
    dataIndex: 'noteId'
  },
  {
    title: '定时任务频率',
    align: "center",
    dataIndex: 'taskTime_dictText'
  },
  {
    title: '任务状态',
    align: "center",
    dataIndex: 'type_dictText'
  },
  {
    title: '创建时间',
    align: "center",
    dataIndex: 'createTime'
  },
  {
    title: '修改时间',
    align: "center",
    dataIndex: 'updateTime'
  },
];

// 高级查询数据
export const superQuerySchema = {
  noteId: {title: '笔记id',order: 0,view: 'text', type: 'string',},
  taskTime: {title: '定时任务频率',order: 1,view: 'list', type: 'string',dictCode: 'task_frequency',},
  type: {title: '任务状态',order: 2,view: 'number', type: 'number',dictCode: 'task_type',},
  createTime: {title: '创建时间',order: 3,view: 'number', type: 'number',},
  updateTime: {title: '修改时间',order: 4,view: 'number', type: 'number',},
};
